package com.xingu.xg.config;

import org.jetbrains.annotations.NotNull;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.concurrent.Delayed;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * @param
 * @BelongsProject: xg-interview-java
 * @BelongsPackage: com.xingu.xg.config
 * @author: L
 * @Date: 2024/5/20 2:44
 * @return
 */
@Component
public class DelayConfig {



    class DelayTask implements Delayed{


        @Override
        public long getDelay(@NotNull TimeUnit unit) {
            return 0;
        }

        @Override
        public int compareTo(@NotNull Delayed o) {
            return 0;
        }
    }
}
